<template>
  <div class="huanying">
    <header>
    <div class="left"><img src="../assets/img/fanhui-g.png" @click='home'/></div>
     <div class="center"><p>格丽思</p></div>
      <div class="right"><img src="../assets/img/shoucang.png" /><p>评论</p></div>
    </header>
    <main>
      <img src="../assets/img/dengdai-a.png" >
    </main>
   </div>
</template>

<script>
export default {
  name: 'shou',
  data () {
    return {
      msg: '最火帖子'
    }
  },
  methods: {
    home: function () {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang="less">
  @import '.././assets/css/reset.css';
  @import '.././assets/css/index.less';
 

  header {
    .height(150);
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    border:1px solid #ccc;
      .left{
        .padding(0,0,0,10);
       
        img{
          width:60%;
          .height(60);
         display: block;
        }
      }
      .right{
        .padding(0,10,0,0);
      }
      .center{
       flex:1;
        .font-size(60);
        color: #be8f59;
      }
    }
    main{
      .padding(150,0,0,0);
      img{
        width: 100%;
      }
    }
  
</style>
